package de.sendorian.app.forumArchive;


import java.text.SimpleDateFormat;
import java.util.Properties;
import java.util.regex.Pattern;

import org.hamcrest.Matcher;

import de.sendorian.app.forumArchive.domain.Forum;
import de.sendorian.app.forumArchive.domain.Post;
import de.sendorian.app.forumArchive.domain.Topic;
import de.sendorian.app.forumArchive.finder.Finder;
import de.sendorian.app.forumArchive.renamer.FileRenamer;

public interface ConfigStrategy {

	public void setProperties(Properties properties);


	public String getBaseUrl();


	public Pattern getDatePattern();


	public SimpleDateFormat getDateFormat();


	public Finder<String, Forum> getForumFinder();


	public Finder<Forum, Topic> getTopicFinder();


	public Finder<Topic, Post> getPostFinder();


	public Matcher<Topic> getTopicMatcher();


	public Matcher<Post> getPostMatcher();


	public FileRenamer getDefaultRenamer();

}
